package com.college.products.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.college.common.pojo.ao.ProductsType;
import com.college.common.pojo.dto.products.QueryProductsTypeDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 商品分类 Mapper 接口
 * @author 小C工作室
 * @since 2025-02-22
 */
@Repository
public interface ProductsTypeMapper extends BaseMapper<ProductsType> {

    /**
     * 获取商品分类集合
     *
     * @param queryProductsTypeDTO 查询对象
     * @return 商品分类集合
     */
    List<ProductsType> queryList(QueryProductsTypeDTO queryProductsTypeDTO);
}
